package cn.minsh.lims.eoms.modules.app.controller.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.util.Date;

/**
 * @author Administrator
 */
@Data
@ApiModel("保养结果")
public class MaintenanceResultReq {

    @ApiModelProperty("工单id")
    @NotNull(message = "工单id不能为空")
    private Long id ;
    @ApiModelProperty("维修完成时间")
    @NotNull(message = "维修完成时间不能为空")
    private Date completeTime ;

    @ApiModelProperty("保养结果说明")
    @NotBlank(message = "保养结果说明不能为空")
    @Size(max = 200,message = "不能超过200个字符")
    private String explain ;
}
